.class final Lcom/adwhirl/a/f;
.super Ljava/lang/Object;
.source "CustomAdapter.java"

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field private a:Lcom/adwhirl/a/d;


# direct methods
.method public constructor <init>(Lcom/adwhirl/a/d;)V
    .locals 0
    .parameter

    .prologue
    .line 162
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 163
    iput-object p1, p0, Lcom/adwhirl/a/f;->a:Lcom/adwhirl/a/d;

    .line 164
    return-void
.end method


# virtual methods
.method public final run()V
    .locals 3

    .prologue
    .line 167
    iget-object v0, p0, Lcom/adwhirl/a/f;->a:Lcom/adwhirl/a/d;

    iget-object v0, v0, Lcom/adwhirl/a/d;->a:Ljava/lang/ref/WeakReference;

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/adwhirl/AdWhirlLayout;

    .line 168
    if-nez v0, :cond_0

    .line 179
    :goto_0
    return-void

    .line 172
    :cond_0
    iget-object v1, v0, Lcom/adwhirl/AdWhirlLayout;->j:Lcom/adwhirl/g;

    iget-object v2, p0, Lcom/adwhirl/a/f;->a:Lcom/adwhirl/a/d;

    iget-object v2, v2, Lcom/adwhirl/a/d;->b:Lcom/adwhirl/b/c;

    iget-object v2, v2, Lcom/adwhirl/b/c;->a:Ljava/lang/String;

    invoke-virtual {v1, v2}, Lcom/adwhirl/g;->a(Ljava/lang/String;)Lcom/adwhirl/b/a;

    move-result-object v1

    iput-object v1, v0, Lcom/adwhirl/AdWhirlLayout;->e:Lcom/adwhirl/b/a;

    .line 173
    iget-object v1, v0, Lcom/adwhirl/AdWhirlLayout;->e:Lcom/adwhirl/b/a;

    if-nez v1, :cond_1

    .line 174
    invoke-virtual {v0}, Lcom/adwhirl/AdWhirlLayout;->a()V

    goto :goto_0

    .line 178
    :cond_1
    iget-object v0, v0, Lcom/adwhirl/AdWhirlLayout;->b:Landroid/os/Handler;

    new-instance v1, Lcom/adwhirl/a/e;

    iget-object v2, p0, Lcom/adwhirl/a/f;->a:Lcom/adwhirl/a/d;

    invoke-direct {v1, v2}, Lcom/adwhirl/a/e;-><init>(Lcom/adwhirl/a/d;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    goto :goto_0
.end method
